package com.houtai.bean.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@ApiModel(value="修改密码所需参数", description="修改密码所需参数")
public class UserUpdatePassDto {

    @NotEmpty(message = "请输入旧密码")
    @ApiModelProperty(value="旧密码（MD5加密后传过来  123456的值是e10adc3949ba59abbe56e057f20f883e）", name="old_user_pass")
    private String  old_user_pass;

    @NotEmpty(message = "请输入密码")
    @ApiModelProperty(value="密码（MD5加密后传过来  123456的值是e10adc3949ba59abbe56e057f20f883e）", name="user_pass")
    private String  user_pass;

    public String getOld_user_pass() {
        return old_user_pass;
    }

    public void setOld_user_pass(String old_user_pass) {
        this.old_user_pass = old_user_pass;
    }

    public String getUser_pass() {
        return user_pass;
    }

    public void setUser_pass(String user_pass) {
        this.user_pass = user_pass;
    }
}
